package com.cl.code.common.utils;

import com.cl.code.common.model.id.Sequence;

/**
 * @author chengliang
 * @since 1.0.0
 */
public class IdentifierUtils {
    private static final Sequence sequence;

    static {
        sequence = new Sequence(null);
    }

    public static Long generateId() {
        return sequence.nextId();
    }

}
